﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.System.Flow
{
    public class FlowEditForm
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Display(Name = "主键")]
        public int? Id { get; set; }

        /// <summary>
        /// 流程编码 
        ///</summary>
        [Display(Name = "流程编码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Code { get; set; }
        /// <summary>
        /// 流程名称 
        ///</summary>
        [Display(Name = "流程名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Name { get; set; }
    }
}
